Exit

Syntax: @Exit

The Exit command can be used to terminate a command procedure, bypassing any following @commands in the current procedure. Normally, procedures are terminated automatically when the end of the command sequence is hit.

It is good programming practice to ensure that the @Exit command is NOT used to 'pop out' of other looping mechanisms, such as @For or @While loops, etc., as this would cause unexpected results when later @Next or @Wend statements are encountered.